Initial implementation of comparing arbitrary fields