all the way to premain