adding change velocity helpers
fixing indentation