optimizations in store; added lookup for type of tag;