Adding getminimum