for demo of commit functionality