implement basic Rift support