Begining of analysis