Make set and add synchronized