Edit: Changed ArrayList type argument