added velocity to player