renamed functions and added return
issues retrieval