changing over from sets to lists