i just had to use Function.prototype.bind() for the first time