verified that conditional PDF works