abbreviate pg
reduce debug dump
adding echo code