added PIRState