added velocity and position with comments