basic static stack operation