replaced our own lookup method by accessor.get