Expander logic