an object is accelerating if it is moving