custom database to learn how it works