Compile working

Blocks compile is now working properly sp