rename list to set in ListGen
edit problem