dbgen should be working correctly now