Prototype a sage conversion routine