implemented repository lookup