complete stack program