I just add another if statement and the result came up slowly
Merge pull request #1 from fanaticsfusion/master

yup, it's slower! (merged from fanaticsfusion)