@pestrada do you know what he means?

You should write the statement once, either before or after the whole if/else block, but not twice inside both if and else. 
;)