Problem with if/else

Any time you do the same thing in an 'if' code block, as in the 'else' code block connected with it, you should move it outside the statement, as it doesn't depend on the condition at all.