https://github.com/ogay/libaffa
