commit queue and stack