Synchronized.java implemented