changed quotations to arrays in formulas