settled #13 using sqlite3