commit before adding isTotal attribute