added pdf view support