add block id caching