add some variables to the commit class