added the framework for requests