started rework to add pgp