add oml support to diamond