Save previous request parameters for other requests
Clean up code and write planning comments