commiting with sam