starting to debug AMR