class structure modified.