added syncrhonized in setter and getter