Add densityt to output