Added alternative solution.