Framework for classes, changed length to size