some quick and dirty af-alg integration for go