commit method
commit method