Created requestHolder struct, refactored code to use this struct.