convert the module to the new parser