moving to PDO for sqlite2.