added run() to the application phase