added getMinimumElement