printing out data nicely, now to insert into sqlite