structuring in classes