adding open module code