Commited main solution.