Almost got db wired up