support references as values