Added getBlock method