Added the OM pattern generator