Tweaked transfer function