added create db with if check