should only do if
-d needs to be tested