first working version of train builder