added everything but correct tabbing in output file