more additions to get_worm_velocity