Fully integrated layout