Changed Integer array to Integer list