Hooking the blocks to match the colours