Making it right with sqlite3