enabled programmatic invocation