Collecting data for a variable