updated output files, slightly neater debugging output