arranged invokation order in scaffold generator