Added some track making code