added class Line; emptyRing is now a "ring type" class;