Added working solution.