updated om example to work with new code