more minor changes have a plan for how to implement the rest of motif_chain_task