same thing can happen to max if using negative numbers