generating string