moved od generator to module