first iteration of diagonsis