Adding dir solution.