removed redundancy of sqlite3