fixes #2, == is no good for data structures