Improve dictionary example