fromBlocks and better typing