Worked on processRequest.