add functionality up to 999,000