typo fix, efficiency change