added var scope!