example now covers complete stack