adding more options for add_component_density