changed application helper by adding a new method