start manager code