rename MIN/MAX to _min/_max