private string RemoteAction() { if (rem.PressButton()) { return("The door is open!"); } return("The door is closed!"); }