this line is not needed. If ruby see that it is defined in if, then it initialize it itself.

see http://stackoverflow.com/questions/15770170/local-variables-within-if-statement