added density scoring