now reading sqlite database and finding components