changed client to request db data