add func of command_r to shift_r