more wip on R6 integration