showing how to commit