switch parts of db to attrib vars.. but needed this commit first