renamed ArrayList -> list