removed need for array