save return code in $?