finish arraylist