more comments and printing the average pixel value.