stack is empty/full
empty error checking