Logic tweak