added some example code with the wiiremote