better equal API