Added synchronization block