simplified confirmation code