added ptmd module