commit before rest