sets up the share_block for access globally