add function to remove appliance