attributes implemented as inner classes, deleted collosion class