AdaptingArrayList improvment for treating wrong use