mind fixing the spacing while you are cleaning this up: `def totalBlocks: Int`?