add the variable that calculates the area of photo