fixing order of arguments