deleted hasRequest repeted function