Add the if statement to the line itself, statements like this is so prone to error.