adds context to check objects for equality