Simplified Code Structure