attempt at implementing fontys example