mod: completed stack data structure