still working on logic chapter