add amf as dep