Added PEM library