r and s statements