removed check to check if its an block.
added comments