added exit status code