assigning classes to all circles