add pdf support