moved initalizing arraylist from constructor to field