working on adding into SQL database