finished write_track.e