#The lhs of 'list' runs first so now syncvar can be the root level of the rhs function list and bind the necessary vars.
#NOTE: unintuitively, we are returning the value of rhs to the main pipleline! (leftmost binding) this is because the leftmost binding determines what goes back to the pipeline result