Made the lookup its own method