how do hydraulics work