support entry arg to constructor