changed fixedqueue to fixedstack to better match the LIFO ordering