sample code to make duplicate survey