commiting before starting next stage