pm module code formatting