removed call to deprecated getRequest() method