Functional stack and pseudoclassical stack