db creation - unfinished