added array and struct formulas