add main init process