Added support for handling multiple requests