An agricultural implement, for working soil across which the agricultural implement travels or is towed, includes a frame, a first depth maintaining unit, including a first hydraulic actuator for adjusting height of the first depth maintaining unit relative to the frame, a second depth maintaining unit, including a second hydraulic actuator for adjusting height of the second depth maintaining unit relative to the frame, at least one soil working tool, and a hydraulic system including the hydraulic actuators configured to be connected to a mechanism supplying hydraulic fluid to the hydraulic system. A first side of the first hydraulic actuator communicates with a first side of the second hydraulic actuator and a measuring mechanism configured to provide a measured value corresponding to a first amount of hydraulic fluid occurring on said first sides.