added minimum3