removed updateVelocity, updatePosition and applyRules functino