working on ppmedium stuff