I think we can just make the method synchronized. Might be easier to read.