database now created automatically if it doesn't exist