oi, ir, and sonar functionality