FOR THE LOVE OF PETE it's min()