changes to density plot