The code from avans