tidied up code to find second peak and display