tdd: velocity implementation and test - green