started process of improving displacement code
successfully modularized tracking code
continued modularizing displacement
continued modularizing displacement