database.find implemented