added name==main control for startup