working up to 3 digits confirmed by test