Added textual solution.