adding fitText feature

adding fitText feature