tpl: updated formula to match stylistic conventions