CLEANING THE CODE (ARRAY USED FOR 8 POINTS)