fonctionne avec SQLite + ajustements template