main ctrl works with service