added functional remote control