changed to array