reference var before assignment