parsing of lists