Look at overloading your add method. Have a method for each type of data. See post #4