starting support of ref parameters