database prototype