use sets instead of lists for neater comparison