Added run loop