gah, forgot to reinstate the type field