tweaking db creation methods.