modified the direc variable.