migrated to REMOTE_COMMAND macro