modify left side
try to pull state to the outer level so the 2 inner component can use it