small updates to the stack