Change to use List instead of ArrayList