added pdf plot