Tweak G logic