preliminary RLglue interface