create PDF, half way done