Removed pointless comments
Added synchronization