added minimum4