I looked for different blogs / documentation about this particular problem, I understand how a method needs to be bind before it can be used in the render function, however