some minor mods to velocity