merged add logic