implement example db