simplifies directory version