Updated
Synchronization and exception fixed