Switch from undefined proc to process