hopefully last revision of the motion detection blog post