do the same for confirm