added list_blocks_of_type