changed the max to 10