MIN-MAX v1

Looks good... for now.