better module checking -- and check for inspect