error in case >= 10?