Our complete stack implementation