just poking around
no idea what changed here
sql updates
getting past a few minor issues
Revert 6fbf155..fc69fef

This rolls back to commit 6fbf155a6a014a12dab2088c62918177d810f5e5.