Sketch ensure(...) function to pop(stack) or fresh()