tried to get array list working