Demo pass data reference inton function