This is more readable imo
Forgot a ;
Now it actually compiles too, oops
Correctly fill in the 'method' field too