verify that it works in concurrent environments