added more methods in App class