If you just refer to an array by name, it is essentially a pointer. So return BName, not &BName.