xoperant example code