Added mutex globally