shouldn't you get the writeLock() in this case?