add directory components