add state inspector