simpler stack management