generation WORKS for very simple input files (ones that it can easily read, single track)