add magic sub class as more structure