change the do struct and add commit center