changed so that it opens pdf viewer