added Lists algo