only get appropriate text