Changed back to sqlite and finished Section 4