class structuring