add function to customize data

add class TSpecial to handle special data