Added more details on database retrieval