Maybe this will help?
http://melabs.com/samples/PBP-mixed/ser2mod.htm