modified CustomRequest.java