make it so that it can simply render into a DOM object