added directory search