added slides for motion detection