added support for AMD