list item to list functionality