use summary state to render both task and free step