Tweaked main