reversed all lists within main for generated pretty_c