mod calc order