Added Data Analysis Code