enable $proc call within $record