add support for amd module