refactor, handle missing 10th