commented out format in pdf viewing finction