adding the code till list of list