Logic merged