create frequency retriever