towards an nre stack (instead of linked list)