Move request creation into a seperate method