In 1893, thirteen-year-old Joshua and his eleven-year-old sister, Amy, travel from South Dakota to New York City with the help of the mysterious Mortimer Wintergreen and his unpredictable magic hat.