checkpoint - most of pdf formatting is done