fix search path
add docstrings