call to_proc everywhere