add stack data structure.