How demonstrations connect with referential intentions