add content: also supporting undefined data type