Debug : appendData > setDada
add switch case