updated to index a 1 for pg
updated with extra clients

lots modfied to use id 1 for pg