added methods for getting the generated activity text.