why so difficult? start off with a highestvalue of 0 as you already do and then at the end of each loop simply compare mutual to highestvalue. if mutual is less than highestvalue you do nothing, if it is higher then highestvalue takes on the value of mutual.