good state before adding lookup function