Added working multiblock code