adding java dir and sequential search