Logic tweaks.