create shortcut for commit funtion call