support custom comparison blocks