wrap nrcmd commands in methods