finish ch6; data model logic built