Added stack realization