demo of what the promise code looks like without promises.