all motion detection added