This is an unneeded if condition, because the if and else part do the same.