Secondary variables implementation