slimmed down the data create script