This code come from mr.Lukazoid member of stackoverflow. I would like to know how this works. is a bit strange for me how you call a method like this. What is the role of \'TRes