Added type to arraylist declaration to remove error