add equality switch on partition