added array for gradescale