Logic partly done...