Integrated logic