Fixes order of arguments