Changed array to List