index only if path provided