You should use the `start_with?` method instead of pulling out the individual characters. You can probably eliminate all local variables.