commit before for validation