My (poor) code from the IEEE 8.o