removed useless new arraylist statement