fixed velocity bug and tested it