Rubbish version of analysis code added