Added average table making stuff