Motion sensor implemented