supporting two function declerations for request method, you can now include item and response