simplify pinmonitor