solution for extra-dashes and most-wanted-letter