add pg and thin