added more functions to app view