Type safe input
Refactored code
Highlight comparison and logical keywords.