changed to array list