change code to use Vec3.subtract()