added averages to the submit view