added hook for dismount control