Made add work for a variable number of arguments