sqlite3 gotchas, implemented insert