still working on converting to sqlite.