Added stack simulator