still working on dir selector