consoleApp added for testing