updated for new Program type: Inparam