process block code