added dictionary example, spec, output