why do you need this locking - isn't there only one thread writing this location?