Made retriever function static