this is how i tend to use PIR sensor