Forgot I switched order ot parameters to match C call