Continued work on making db relational - doesn't work.