Removed an unneccissary synchronized section