ok, i understand, this can be a class method, taking a list of class instances