now the only problem is about amr