use sqlite to keep track of entries