finish recursive isEven