Function-motion detection has been done.