Analysing cause of failure