started changign to use sqlite