RequestListener class added as parameter