modified method in app view
added router