commiting with am