changed scheme and block def