added jump control