utils for list added
some cleaning and separation
line added for clarity