Got some working code for displaying list of strings