New solution with console