removed loop condition from run()