latest version with working amr