Implementation of data gathering and output