getting block id