hooked up stack on small functionality