Added use of handleRequest method