Updated block code
Updated block code