added code to identify some of the block scenarios