* working on new sample for long data with switch case