use new defined type for autostart for external usage