I propose to refactor if statement using string equals() method to switch statement for readability. Thank you :)