perform this logic if at least one kind of block is provided