trying ArrayList<E> instead of ArrayList<T>