and configure it to detect motion