My friend was waiting for me at the finish line with a big congratulatory smile and hug .
My friend had finished 40 minutes before I did .
My friend , who had finished 40 minutes before I did , was waiting for me at the finish line with a big congratulatory smile and hug .