rename
check exit code snippet