modified create db