Small time fix
Starting structure for motion sensor