Updated the create_data() function to the new design.
Authored by: bugman 2008-05-21
Parent: [r6211]
Child: [r6213]