modified app to get rid of the NoMethodError