switched to code-based configuration