update and inclusion of listoflist transform code.