scalar replacement in 103