Removed a non-working if-else-then statement