Added an thread unsafe example