references on var handled