added the remote handler