add cancel velocity funciton
changes