added density plot