Solve issue #30, replace input list with input dict.  The character is much more controllable!