not using min