uncommented getBlock stuff