finding cause of the problem