how to make an amf