changed order of blocks