fixes #5: Instances is thread safe