use merge ref