use int for avg acc