first version of createDB complete