how to make a amf