parameterize pdf for loc