Move 8 and 9 to constants