Top-level function for compilation of lists done