wrote thesis part about PEGs