Added max & min but incomplate