better search path creation