Code to find second top