added back getText method