Added more to popMin method