using velocity instead of manual setting the coordinates.