turn the magic number 10 into a config entry!