some updates after revisions.