another example
added mutex option to this example