add process_method. from #298 fixes #296