fixed redeclare variables
acceleration variation!!!!