velocity fitting implementation started