Adding basic client retrieval function