more inspector code