remove debugging lines
added exit codes