Initial implementation of equalTo()