updated demo app with spelling correction on method