change set to arraylist