Restructed solution.