https://github.com/titania-research-labs/pepc-rep