changed array from names to numbers for formula prices