exports to AMD