debug scheme added