logic tweak