Restructed the code