Nice stack problem.