change synchronization object to final so that it cant be modified