added to text class