adding the example to demonstrate the single threadness of the browser