adding confirmation code after creation