https://blog.samanportable.com/peb-structures/