forked from: forked from: Amazing Lookups Optimization

