Oops, got the parameters to the callback in  backwards.