pop now pushes the first index off the stack