Processing and analysis of data