new array
generalized stack pointer manipulation