Everything is working EXCEPT the randomizer which is needed in order to generate the function, I think