a bit more progress, but still unfinished sqlHistory.jade