references are to be passed as an array