dir vs vars