Added clustering  solution with lists