Added pg and factor12