I do not understand why my code does not compile. I should solve a compatibility problem, but I am struggling to find the right way.