add codes to generate test data for slide