now using exit code of which