Add motion sensor structure