Wanted to understand how this works, need some help on this.