Changed parameters to match those expected by server