Added get procedures function