Added Template for pg