remove max and min methods