changed server request constructor