producing output
added rules to trim errors