added var to dir