compare list function lsiting correcetd