Added pin pgt pdr functions