help for param.mod function