Getting data and processing pre-analysis