startet implementing moteswrapper