removed (redundant?) reference to min