compare lists to lists instead of tuples