add option to commit