Add ability to pass extra parameters in procedure