equal now takes variable number of arguments