Added denisty feature