optimize TBLModel class