Retrieval from database works.