find_potential now a class