should be using the @left variable instead of @right.