text object generation, debugged, working