coded option to create database