all but one db function left and then can move harness off of flat file :)