added synchornized keywords