ExtractMethod to reduce ObscurCode
database.find is now async