fork of aemlib