Please add a few comments explaining what's happening and why?