still AMDifying… code is unstable.