ArrayList: contains, not containsKey; typo fix