wrote request methods