removed use of static, fixed error in buildPPre