why did we remove the synchronized block?