Re-ran assignment so compatible with cdf