Made db prototype