[minor] replacing array with List