implemented mote in handler