first successful version on concurrent read and write