changed PS1 to have command return value