add content factory
debug