shifting off used vars and passing along the rest