added TextEntry class