Updated to include getBlocks() method call