remove and add same time
use StringBuilder
switch back to iterating of erntry set
typo
shorter if
typo