add operators to an ArrayList, cleanup