deployed version of density