cache  lookup
Merge pull request #1 from netroy/master

made it a tiny bit smaller & faster