more elegant

select_block can now use any cursor to perform its trick