cleaning up lookup

moving the logger