a package of addTwo function