added viewing of pdf and adding