Comments
Slight optimization, clarity
Clarify logic
Spelling
Remove unused parameter
Fix logic error
Var name
Reduce code duplication