Created example using berkeleydb