Data collection by software