had to add lib
fixed bug in reading intt
Merge branch 'ajdb'
fixed a bug in writing to db