toogling recursive searching almost done