Added get_proc method