Fixed. Cut and pasted from blockdata, and didn't understand the code well enough...