produced correct pdf