Removed unnecessary lock