Restructuring code + Real Life Examples