support constructor of engine