small refactor do clarify the code intent