constructing CoA