A is created twice. This is not good.