Added generic Add func