Yes, I think you are right on course. It was just a matter of working out how PL/SQL handles passing arguments in and out of a procedure.