Why did you change this from an int to an interface