making initialize thread safe and version bump