Removed lock statement